From: Richard M. Stallman Date: Thu, 25 Mar 1993 06:32:43 +0000 (+0000) Subject: (Fy_or_n_p): Ensure cursor_in_echo_area = 0 when quit. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96691 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a63f658b5516f2412460b43953cdd6e912f29168;p=emacs.git (Fy_or_n_p): Ensure cursor_in_echo_area = 0 when quit. --- diff --git a/src/fns.c b/src/fns.c index 27927d73abe..667612237af 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1112,6 +1112,10 @@ Also accepts Space to mean yes, or Delete to mean no.") cursor_in_echo_area = 1; obj = read_char (0, 0, 0, Qnil, 0); + cursor_in_echo_area = 0; + /* If we need to quit, quit with cursor_in_echo_area = 0. */ + QUIT; + key = Fmake_vector (make_number (1), obj); def = Flookup_key (map, key); answer_string = Fsingle_key_description (obj);